<!DOCTYPE html>   
<head>   
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery操作canvas</title>  
<script type="text/javascript" src="../js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../js/jcanvas.min.js"></script>
<script type="text/javascript">
$(function(){
	$("canvas").drawRect({
		fillStyle:"lightblue",
		x:150,y:80,
		width:100,
		height:100
	})
})
</script>  
</head>  
<body>     
<canvas width="300" height="200"></canvas>
</body>  
</html>
